package com.tedu.DbDemo.pojo;
//对应jt_order表 
public class JtOrder {
	Integer orderId;//对应order_id列
	Integer total;
	//一个订单属于一个用户的
	User user;//体现Jt_order和user表的一对一
	//set(),get()
	public Integer getOrderId() {
		return orderId;
	}
	public void setOrderId(Integer orderId) {
		this.orderId = orderId;
	}
	public Integer getTotal() {
		return total;
	}
	public void setTotal(Integer total) {
		this.total = total;
	}
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	

}
